package com.teamsun.entity;

import java.io.Serializable;
import java.util.List;
import java.util.Map;

/**
 * <p>调用离线下载服务，传递的参信息</p>
 */
public class OffLineDownLoad implements Serializable,IRequestInfo{

    /**
     * 报表查询条件
     */
    private List<Map<String, String>> conditions;

    /**
     * 报表查询SQL
     */
    private String sql;

    /**
     * 报表配置文件所在机器SFTP连接端口
     */
    private String ftpPort;

    /**
     * 报表配置文件所在机器SFTP连接用户名
     */
    private String ftpUser;

    /**
     * 报表配置文件所在机器SFTP连接密码
     */
    private String ftpPass;

    /**
     * 报表配置文件所在机器SFTP地址
     */
    private String ftpIp;

    /**
     * 报表配置文件路径
     */
    private String ftpFileUrl;

    /**
     * 数据库驱动
     */
    private String driver;

    /**
     * 数据库连接
     */
    private String dbUrl;

    /**
     * 数据库连接用户名
     */
    private String dbName;

    /**
     * 数据库连接密码
     */
    private String dbPass;

    /**
     * 报表查询字段
     */
    private List<String> fields;

    /**
     * 用户ID
     */
    private String userId;

    /**
     * 报表名称
     */
    private String reptName;

    /**
     * 全量表头(列名)
     */
    private List<String> excelHdAll;

    /**
     * 全量表头(字段名)
     */
    private List<String> excelHdAllFields;

    /**
     * 显示的表头
     */
    private List<String> excelHd;

    /**
     * 百分比显示的表头(表头名称)
     */
    private List<String> percentHD;

    /**
     * 百分比显示的表头(表头字段名)
     */
    private List<String> percentHDFields;

    /**
     * 报表别名
     */
    private String aliasRptName;

    /**
     * 接入系统编码
     */
    private String itemCode;

    /**
     * 下拉框明细信息
     */
    private List<Map<String, Object>> selected;

    public String getAliasRptName() {
        return aliasRptName;
    }

    public void setAliasRptName(String aliasRptName) {
        this.aliasRptName = aliasRptName;
    }

    public List<String> getExcelHdAll() {
        return excelHdAll;
    }

    public void setExcelHdAll(List<String> excelHdAll) {
        this.excelHdAll = excelHdAll;
    }

    public List<String> getExcelHd() {
        return excelHd;
    }

    public void setExcelHd(List<String> excelHd) {
        this.excelHd = excelHd;
    }

    public List<Map<String, String>> getConditions() {
        return conditions;
    }

    public void setConditions(List<Map<String, String>> conditions) {
        this.conditions = conditions;
    }

    public String getSql() {
        return sql;
    }

    public void setSql(String sql) {
        this.sql = sql;
    }

    public String getFtpPort() {
        return ftpPort;
    }

    public void setFtpPort(String ftpPort) {
        this.ftpPort = ftpPort;
    }

    public String getFtpUser() {
        return ftpUser;
    }

    public void setFtpUser(String ftpUser) {
        this.ftpUser = ftpUser;
    }

    public String getFtpPass() {
        return ftpPass;
    }

    public void setFtpPass(String ftpPass) {
        this.ftpPass = ftpPass;
    }

    public String getFtpIp() {
        return ftpIp;
    }

    public void setFtpIp(String ftpIp) {
        this.ftpIp = ftpIp;
    }

    public String getFtpFileUrl() {
        return ftpFileUrl;
    }

    public void setFtpFileUrl(String ftpFileUrl) {
        this.ftpFileUrl = ftpFileUrl;
    }

    public String getDriver() {
        return driver;
    }

    public void setDriver(String driver) {
        this.driver = driver;
    }

    public String getDbUrl() {
        return dbUrl;
    }

    public void setDbUrl(String dbUrl) {
        this.dbUrl = dbUrl;
    }

    public String getDbName() {
        return dbName;
    }

    public void setDbName(String dbName) {
        this.dbName = dbName;
    }

    public String getDbPass() {
        return dbPass;
    }

    public void setDbPass(String dbPass) {
        this.dbPass = dbPass;
    }

    public List<String> getFields() {
        return fields;
    }

    public void setFields(List<String> fields) {
        this.fields = fields;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getReptName() {
        return reptName;
    }

    public void setReptName(String reptName) {
        this.reptName = reptName;
    }

    public List<String> getPercentHD() {
        return percentHD;
    }

    public void setPercentHD(List<String> percentHD) {
        this.percentHD = percentHD;
    }

    public List<String> getExcelHdAllFields() {
        return excelHdAllFields;
    }

    public void setExcelHdAllFields(List<String> excelHdAllFields) {
        this.excelHdAllFields = excelHdAllFields;
    }

    public List<String> getPercentHDFields() {
        return percentHDFields;
    }

    public void setPercentHDFields(List<String> percentHDFields) {
        this.percentHDFields = percentHDFields;
    }

    public String getItemCode() {
        return itemCode;
    }

    public void setItemCode(String itemCode) {
        this.itemCode = itemCode;
    }

    public List<Map<String, Object>> getSelected() {
        return selected;
    }

    public void setSelected(List<Map<String, Object>> selected) {
        this.selected = selected;
    }
}
